﻿using System;
using System.Collections.Generic;
using System.Linq;
using DataAccess;

namespace BussinesLogic
{
    public class Linea
    {

        public int id
        { get; set; }

        public int NumLinea
        { get; set; }

        public int NumFolio
        { get; set; }

        public string NoExpediente
        { get; set; }

        public string CodDocumento
        { get; set; }

        public string Texto
        { get; set; }
        
        public Linea()
        {

        }

        #region Funciones Publicas
        public static Linea getLinea(int numLinea, int numFolio, string NoExpediente, string codDocumento )
        {
            DataAccess.Factory.LineaFactoryDao tmpFac = new DataAccess.Factory.LineaFactoryDao();

            return tmpFac.getLinea( numLinea,  numFolio,  NoExpediente,  codDocumento );
        }
        #endregion
    }



}
